//
//  LZRestaurantFilterFooterView.m
//  laziz_Consumer
//
//  Created by xbnzd on 17/4/21.
//  Copyright © 2017年 XBN. All rights reserved.
//

#import "LZRestaurantFilterFooterView.h"

@interface LZRestaurantFilterFooterView ()
@property (weak, nonatomic) IBOutlet UIButton *clearBtn;

@end

@implementation LZRestaurantFilterFooterView

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.clearBtn.layer.cornerRadius = 16.0;
    self.clearBtn.layer.borderWidth = 0.5;
    self.clearBtn.layer.borderColor = UIColorFromRGB(0xff7a21, 1).CGColor;
    
    [self.clearBtn setTitle:LZLocalizedString(@"setting_button_clear", nil) forState:UIControlStateNormal];
}
- (IBAction)clearBtnAction:(id)sender {
    
    if (self.footViewDelegate && [self.footViewDelegate respondsToSelector:@selector(footViewClearBtnAction)]) {
        [self.footViewDelegate footViewClearBtnAction];
    }
}

@end
